package com.pzy.module.demo;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.pzy.module.demo.dao.DemoDao;
import com.pzy.module.demo.domain.DemoEntity;

@Service
@Transactional(rollbackFor = Exception.class)
public class DemoServiceImpl extends ServiceImpl<DemoDao, DemoEntity> implements DemoService {
    @Override
    public List<Integer> loadTest() {
        return super.getMapper().findTest();
    }
}
